/* 设置背景拉伸铺满全屏 */
body{
    background-image: url("../images/bg.png");
    background-position:  center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment:fixed;
    width: 100vw;
    height: 100vh;
}

.m-padding-mini{
    padding: 0.2em !important;
}
/* 设置上下padding */
.m-padding-tb-mini{
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}
.m-padding-tb{
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}
.m-padding-tb-large{
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}
.m-padding-tb-big{
    padding-top: 3em !important;
    padding-bottom: 3em !important;
}
.m-padding-tb-huge{
    padding-top: 4em !important;
    padding-bottom: 4em !important;
}
.m-padding-tb-massive{
    padding-top: 5em !important;
    padding-bottom: 5em !important;
}
.m-padding-tb-max{
    padding-top: 10em !important;
    padding-bottom: 10em !important;
}
/* 设置左右padding */
.m-padding-lr{
    padding-left: 5em !important;
    padding-right: 5em !important;
}
.m-padding-b{
    padding-bottom: 5em !important;
}

/* 设置上下margin */
.m-margin-tb-mini{
    margin-top: 0.2em !important;
    margin-bottom: 0.2em !important;
}
.m-margin-tb{
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.m-margin-tb-massive{
    margin-top: 5em !important;
    margin-bottom: 5em !important;
}
.m-margin-tb-max{
    margin-top: 10em !important;
    margin-bottom: 10em !important;
}
/* 设置左右margin */


/* 设置文本样式 */
.m-text-thin{
    font-weight: 300 !important;
}
.m-text-spaced{
    letter-spacing: 1px !important;
}
.m-text-lined{
    line-height: 1.8;
}

.m-opacity-mini{
    opacity: 0.8 !important;
}
/* 行内块元素 */
.m-inline-block{
    display: inline-block !important;
}
/* 设置最大宽度  */
.m-container{
    max-width: 100em !important;
    margin: auto !important;
}

/* 设置不显示 */
.m-mobile-show{
    display: none !important;
}

/* 设置阴影 */
.m-shadow-small{
    box-shadow: 0 4px 8px rgba(0, 0, 2, 0.2) !important;
}

/* 设置字体颜色 */
.white{
    color: #fff !important;
}

/* 绝对定位，层级 */
.m-fixd{
    position: fixed !important;
    z-index: 1 !important;
}

/* 设置距离 */
.m-right-bottom{
    bottom: 0 !important;
    right: 0 !important;
}

.m-top-right{
    position: absolute;
    top:0 !important;
    right: 0 !important;
}

.m-stick-bottom{
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
}

.m-beyond-truncation{
    overflow: hidden;
    word-break: normal;
    white-space: pre-wrap;
    text-overflow:ellipsis;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.card {
    overflow: hidden;
    background-color: #fff;
    border: none;
    -webkit-box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.card-body {
    padding: 2rem;
}

.card-header {
    padding: 1.5rem 2rem;
    background-color: white;
    border-bottom: none;
    -webkit-box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.125rem 0.8rem rgba(0, 0, 0, 0.1);
}

.m-tb-center{
    text-align: center;
}

/* 屏幕小于768时 */
@media screen and (max-width:768px){
    .m-mobile-hide{
        display: none !important;
    }
    .m-mobile-show{
        display: block !important;
    }
    .m-padding-lr{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .m-mobile-wide{
        width: 100%;
    }
}

